/*
 * RefreshFragmentAdapter.java
 * classes : com.ruint.core.interfaces.RefreshFragmentAdapter
 * @author ruint
 * V 1.0.0
 * Create at 2014-12-2 下午3:30:32
 */
package com.ruint.core.interfaces;

import java.util.List;

import com.ruint.core.adapter.BaseRefreshListAdapter;
import com.ruint.lib.pulltorefresh.library.PullToRefreshBase.Mode;
import com.ruint.lib.pulltorefresh.library.PullToRefreshListView;

/**
 * com.ruint.core.interfaces.RefreshFragmentAdapter
 * 
 * @author ruint <br/>
 *         create at 2014-12-2 下午3:30:32
 * @param <T>
 */
public interface IRefreshFragment<T, V extends BaseRefreshListAdapter<T, PullToRefreshListView>> {
  V newAdapter();

  Mode refreshMode();

  void injectData(List<T> data);

  void onListRefresh();

  void headRefresh();

  void footRefresh();
}
